package com.usv.point;

import java.util.Comparator;

public class ComparatorX implements Comparator<Point> {

    @Override
    public int compare(Point p1, Point p2) {
        return p1.getX() - p2.getX();

    }
}
